// 自定义Vue插件
import PageTools from '@/components/PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from '@/components/ImageUpload'

export default {
  install (Vue) {
    // 配置全局组件
    Vue.component(PageTools.name, PageTools)
    // 配置导入Excel组件
    Vue.component(UploadExcel.name, UploadExcel)
    // 注册导入图片组件
    Vue.component(ImageUpload.name, ImageUpload)
  }
}
